
const db = require('../../middleware/db')
const Sequelize = require('sequelize')
// 公告表
module.exports = sys_announcement = db.define('sys_announcement', {

  // 状态
  status: {
    type: Sequelize.INTEGER(1),
    allowNull: false,
    defaultValue: '0'
  },
  // 内容
  content: {
    type: Sequelize.TEXT,
    allowNull: false,
    defaultValue: ''

  }
})

// sys_announcement.sync({ force: true })
